package com.data.app.dao.primary;

import com.data.app.pojo.primary.HddcActivefaultEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface HddcActivefaultDao extends JpaRepository<HddcActivefaultEntity, String> {
    @Query(value = "SELECT uuid,extends5,province FROM hddc_activefault WHERE is_valid='1' ",nativeQuery = true)
    List<Object[]> findAllActiveFaultDatas();
}
